<div id="comment-<?php echo $comment->id; ?>" class="comment">
  <h4>
    <img class="icon" src="<?php echo $themeUrl; ?>/images/comment.png" alt="" />
    <a rel="bookmark" href="<?php echo $siteUrl; ?>/article/<?php echo $article->id; ?>#comment-<?php echo $comment->id; ?>"
        title="Permalink for this comment">
      <?php echo htmlentities($comment->title); ?>
    </a>
  </h4>

  <div class="comment-content">
    <?php echo $comment->getContent(); ?>
  </div>

  <div class="comment-date">
    <small>
      <?php echo date($dateFormatLong, $comment->posted); ?>
    </small>
  </div>

  <div class="comment-author">
    <small>
      Posted by
      
      <?php if (strlen($comment->url) > 0): ?>
        <a href="<?php echo htmlentities($comment->url); ?>" rel="nofollow">
          <?php echo htmlentities($comment->author); ?>
        </a>
      <?php elseif (strlen($comment->email) > 0): ?>
        <a href="mailto:<?php echo htmlentities($comment->email); ?>">
          <?php echo htmlentities($comment->author); ?>
        </a>
      <?php else: ?>
        <?php echo htmlentities($comment->author); ?>
      <?php endif; ?>
    </small>
  </div>
</div>
